package com.zy.cat.entity.app.repository;

import java.util.List;

import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.PagingAndSortingRepository;

import com.zy.cat.entity.app.CatAppNotice;
public interface CatAppNoticeRepository extends PagingAndSortingRepository<CatAppNotice, String>{
	
	@Query("from CatAppNotice where mstatus=:mstatus AND stime<=curdate() AND etime>=curdate()")
	public List<CatAppNotice> findByMstatus(int mstatus);
	
	
}